import request from '@/utils/request'
import { ResultVoid, DeepRequired, ChangeRoleInfoDto } from '../../interface'

/**
 * 修改角色
 * /role/one
 */
export function putRoleOne(input: ChangeRoleInfoDto) {
  return request.put<DeepRequired<ResultVoid>>(`/role/one`, input)
}
